package com.hewep.demo.nio;

import java.nio.channels.SocketChannel;

/*
 * 这个request是用来做统一处理的，用来处理从客户端读取的数据
 */
public class Request {

	private SocketChannel sc;
	private byte[] dataInput = null;
	
	public Request(SocketChannel sc){
		this.sc = sc;
	}
	public byte[] getDataInput() {
		return dataInput;
	}

	public void setDataInput(byte[] dataInput) {
		this.dataInput = dataInput;
	}
	
}
